package com.ccctop.cloud.service.api;

import com.ccctop.crowd.entity.po.ProjectPO;
import com.ccctop.crowd.entity.vo.DetailProjectVO;
import com.ccctop.crowd.entity.vo.PortalTypeVO;
import com.ccctop.crowd.entity.vo.ProjectVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectService {
    ProjectPO saveProject(ProjectVO projectVO, Integer memberId);

    List<PortalTypeVO> getPortalTypeVO();

    DetailProjectVO getDetailProjectVO(Integer projectId);

    List<ProjectPO> getProjectsByMemberId(Integer memberLoginVOId);

    ProjectPO getProjectPoByProjectId(Integer projectId);

    List<ProjectPO> getSupportProjectsByMemberId(Integer userId);

    void updateProjectById(ProjectPO projectPO);

    void updateProjectSupportMoneyById(ProjectPO projectPO) throws Exception;
}
